package com.ydcycloud.sys.dao.impl;

import java.io.Serializable;

import javax.annotation.Resource;

import org.hibernate.SessionFactory;

import com.smart.mvc.dao.hibernate.impl.DaoImpl;

/**
 * 该项目Dao基类，实现了数据的CRUD
 * 
 * @param <T>
 * @param <ID>
 */
public abstract class BaseDaoImpl<T, ID extends Serializable> extends DaoImpl<T, ID> {

	@Resource(name = "baseSessionFactory")
	@Override
	public void setSessionFactory(SessionFactory sessionFactory) {
		this.sessionFactory=sessionFactory;
	}
	
}
